package de.tabuma.shopping.entity;

import javax.jdo.annotations.*;
import java.util.*;

/**
 * @author $Author: alefen $
 * @version $Revision: 1.1 $
 * @since $Date: 2009/07/21 19:37:33 $
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class LicenseUse {
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;
    public Long getId() {
        return id;
    }

    @Persistent
    int licenseAssignmentId;
    public int getLicenseAssignmentId() {
        return licenseAssignmentId;
    }
    public void setLicenseAssignmentId(int licenseAssignmentId) {
        this.licenseAssignmentId = licenseAssignmentId;
    }

    @Persistent
    Date date;
    public Date getDate() {
        return date;
    }
    public void setDate(Date date) {
        this.date = date;
    }

    @Persistent
    String useInformation;
    public String getUseInformation() {
        return useInformation;
    }
    public void setUseInformation(String useInformation) {
        this.useInformation = useInformation;
    }

    @Persistent
    int methodId;
    public int getMethodId() {
        return methodId;
    }
    public void setMethodId(int methodId) {
        this.methodId = methodId;
    }

}
